check process NGINX with pidfile /var/run/nginx.pid
  start program = "/usr/sbin/service nginx start"
  stop program = "/usr/sbin/service nginx stop"
  if failed
    port {{ nginx_https_port }}
  for 10 cycles then restart
  if 2 restarts within 20 cycles then unmonitor
